package com.seo.main;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

import lombok.extern.slf4j.Slf4j;

/**
 * 程序入口
 *
 * @author shibeilei
 * @version 2017.06.08 17:40
 */
@Slf4j
@ImportResource("spring/*.xml")
@SpringBootApplication(scanBasePackages = "com.seo")
public class WebProvider {
    /**
     * 主方法
     *
     * @param args args
     * @throws Exception Exception
     */
    public static void main(String[] args) throws Exception {
        log.info("开始启动...");
        SpringApplication.run(WebProvider.class, args);
        log.info("启动成功...");
    }

}
